home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
COMAL
/
B-Book Series
/
(k)b4.d64
/
solution8.2
< prev
next >
Wrap
Text File
|
2007-02-28
|
344b
|
13 lines
0010 DIM TEXT$ OF 50, CH$ OF 1
0020 READ CH$
0030 COUNT:=0
0040 WHILE CH$<>"*" DO
0050 COUNT:=COUNT+1
0060 TEXT$(COUNT):=CH$
0070 READ CH$
0080 ENDWHILE
0090 FOR K:=COUNT TO 1 STEP -1 DO PRINT TEXT$(K)
0100 PRINT COUNT
0110 DATA "A","B","L","E"," ","W","A","S"," ","I"," ","E","R","E"," ","I"
0120 DATA " ","S","A","W"," ","E","L","B","A","*"